package problem27_Remove_Elements;

public class Solution {
	public int removeElement(int[] nums, int val) {
		int count=0;
		for(int i:nums){
			if(i!=val){
				nums[count++]=i;
			}
		}
		return count;
	}
}
